﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PacketRush.Core
{
    /// <summary>
    /// Describes and references a packet that is waiting for acknowledgement.
    /// </summary>
    public class AckWaitingPacket
    {
        /// <summary>
        /// The raw packet waiting to be acknowledged.
        /// </summary>
        public byte[] RawPacket { get; set; }

        /// <summary>
        /// The time the packet was last sent.
        /// </summary>
        public long TimeSent { get; set; }

        /// <summary>
        /// The number of times this packet has been sent without acknowledgement.
        /// </summary>
        public int Tries { get; set; }
    }
}
